package com.mdx.bean;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.time.LocalDate;

/**
 * 专家
 */
@TableName("t_expert")
public class ExpertBean {
    @TableId(value = "pk_expertId",type = IdType.AUTO)
    private int expertId;

    @TableField("f_expertName")
    private String expertName;

    /**
     * 专家性别
     */
    @TableField("f_expertGender")
    private String expertGender;

    /**
     * 出生日期
     */
    @TableField("f_expertBirth")
    private LocalDate expertBirth;

    /**
     * 专家照片
     */
    @TableField("f_expertImg")
    private String expertImg;

    /**
     * 特长
     */
    @TableField("f_specialty")
    private String specialty;

    /**
     * 职务
     */
    @TableField("f_office")
    private String office;

    /**
     * 专家电话
     */
    @TableField("f_expertTel")
    private String expertTel;

    /**
     * 工作单位
     */
    @TableField("f_jobUnit")
    private String jobUnit;

    /**
     * 地址
     */
    @TableField("f_address")
    private String address;

    /**
     * 邮箱
     */
    @TableField("f_email")
    private String email;

    @Override
    public String toString() {
        return "ExpertBean{" +
                "expertId=" + expertId +
                ", expertName='" + expertName + '\'' +
                ", expertGender='" + expertGender + '\'' +
                ", expertBirth=" + expertBirth +
                ", expertImg='" + expertImg + '\'' +
                ", specialty='" + specialty + '\'' +
                ", office='" + office + '\'' +
                ", expertTel='" + expertTel + '\'' +
                ", jobUnit='" + jobUnit + '\'' +
                ", address='" + address + '\'' +
                ", email='" + email + '\'' +
                '}';
    }

    public int getExpertId() {
        return expertId;
    }

    public void setExpertId(int expertId) {
        this.expertId = expertId;
    }

    public String getExpertName() {
        return expertName;
    }

    public void setExpertName(String expertName) {
        this.expertName = expertName;
    }

    public String getExpertGender() {
        return expertGender;
    }

    public void setExpertGender(String expertGender) {
        this.expertGender = expertGender;
    }

    public LocalDate getExpertBirth() {
        return expertBirth;
    }

    public void setExpertBirth(LocalDate expertBirth) {
        this.expertBirth = expertBirth;
    }

    public String getExpertImg() {
        return expertImg;
    }

    public void setExpertImg(String expertImg) {
        this.expertImg = expertImg;
    }

    public String getSpecialty() {
        return specialty;
    }

    public void setSpecialty(String specialty) {
        this.specialty = specialty;
    }

    public String getOffice() {
        return office;
    }

    public void setOffice(String office) {
        this.office = office;
    }

    public String getExpertTel() {
        return expertTel;
    }

    public void setExpertTel(String expertTel) {
        this.expertTel = expertTel;
    }

    public String getJobUnit() {
        return jobUnit;
    }

    public void setJobUnit(String jobUnit) {
        this.jobUnit = jobUnit;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public ExpertBean() {
    }

    public ExpertBean(String expertName, String expertGender, LocalDate expertBirth, String expertImg, String specialty, String office, String expertTel, String jobUnit, String address, String email) {
        this.expertName = expertName;
        this.expertGender = expertGender;
        this.expertBirth = expertBirth;
        this.expertImg = expertImg;
        this.specialty = specialty;
        this.office = office;
        this.expertTel = expertTel;
        this.jobUnit = jobUnit;
        this.address = address;
        this.email = email;
    }
}
